import React, { Component } from 'react'
import {withRouter} from "react-router-dom"
import "./searchInput.scss"
class searchInput extends Component {
  handleClick=(params) => {
    this.props.history.push("/searchCenter")
  }
  render() {
    return (
      <div className="index-searchFor" onClick={this.handleClick}>
        <div className="index-searchFor-con">
          搜索
        </div>
      </div>
    )
  }
}
export default withRouter(searchInput)
